-
Notifications
You must be signed in to change notification settings - Fork 579
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Add support for the aws.ec2 protocol #791
Conversation
Codecov Report
@@ Coverage Diff @@
## smithy-codegen #791 +/- ##
=================================================
Coverage ? 92.21%
=================================================
Files ? 144
Lines ? 2851
Branches ? 489
=================================================
Hits ? 2629
Misses ? 222
Partials ? 0 Continue to review full report at Codecov.
|
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
CI failure is due to flaky test, and is unrelated #487 |
...s-typescript-codegen/src/main/java/software/amazon/smithy/aws/typescript/codegen/AwsEc2.java
Outdated
Show resolved
Hide resolved
...s-typescript-codegen/src/main/java/software/amazon/smithy/aws/typescript/codegen/AwsEc2.java
Outdated
Show resolved
Hide resolved
...-codegen/src/main/java/software/amazon/smithy/aws/typescript/codegen/Ec2ShapeSerVisitor.java
Outdated
Show resolved
Hide resolved
...-codegen/src/main/java/software/amazon/smithy/aws/typescript/codegen/Ec2ShapeSerVisitor.java
Show resolved
Hide resolved
...odegen/src/main/java/software/amazon/smithy/aws/typescript/codegen/QueryShapeSerVisitor.java
Outdated
Show resolved
Hide resolved
...odegen/src/main/java/software/amazon/smithy/aws/typescript/codegen/QueryShapeSerVisitor.java
Show resolved
Hide resolved
The flaky test in node-http2-handler was commented out in #794 |
This commit adds support for the `aws.ec2` protocol, building on top of the `HttpRpcProtocolGenerator`, `Xml[Member|Shape]DeserVisitor`, and `Query[Member|Shape]SerVisitor` for document serde. The `QueryShapeSerVisitor` has been opened up for re-use by the new `Ec2ShapeSerVisitor` because `aws.ec2` is a specific version of the `aws.query` protocol. Hooks have been made available to influence the specific behavior that is updated. This also fixes a critical bug with query list and map serialization that would have resulted in runtime failues on serilaizing the member target shape's contents.
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread. |
This commit adds support for the
aws.ec2
protocol, building on topof the
HttpRpcProtocolGenerator
,Xml[Member|Shape]DeserVisitor
,and
Query[Member|Shape]SerVisitor
for document serde.The
QueryShapeSerVisitor
has been opened up for re-use by the newEc2ShapeSerVisitor
becauseaws.ec2
is a specific version of theaws.query
protocol. Hooks have been made available to influencethe specific behavior that is updated.
This also fixes a critical bug with query list and map serialization
that would have resulted in runtime failues on serilaizing the member
target shape's contents.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.